Einhugur macOS Bridge plugin.

NSWorkspace.URLForApplicationWithBundleIdentifier Method

Returns the URL for the app with the specified identifier.

shared URLForApplicationWithBundleIdentifier(
   bundleIdentifier as String) as EinhugurCoreBridge.NSURL

Parameters

bundleIdentifier
A bundle identifier specifying an app.

Returns

EinhugurCoreBridge.NSURL
The URL of the app, or nil if no app has the bundle identifier.

Remarks

This method uses various (currently unspecified) heuristics in case multiple apps have the same bundle ID.

See Also

NSWorkspace Class